package com.hu.green;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.CrossOrigin;

//springboot启动类
@Slf4j //便于记录日志
@SpringBootApplication
@EnableTransactionManagement//开启事务控制

public class GreenApplication {
	public static void main(String[] args){
		SpringApplication.run(GreenApplication.class,args);
		log.info("启动正常");
	}
}
